﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WsdShop.Model.Enum;

namespace WsdShop.Model
{
    public class MemberRecharge
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 会员Id
        /// </summary>
        public int MemberId { get; set; }
        /// <summary>
        /// 充值金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public PayType PayType { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public OrderPayStatus Status { get; set; }
        /// <summary>
        /// 充值单号
        /// </summary>
        public string PayNo { get; set; }

        private DateTime addTime = DateTime.Now;
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get { return addTime; } set { addTime = value; } }
        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime? PayTime { get; set; }

        private bool isDeleted = false;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get { return isDeleted; } set { isDeleted = value; } }
    }
}
